﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

using DotSpatial.Topology;

namespace HAGISV2
{
    [Serializable]
    public class ScatterPointShape : FShape
    {

        public ScatterPointShape(string id,Coordinate point,List<double> values)
            : base(id)
        {
            _pt = point;
            _values = values;
            //_ptColor = Color.Orange;
        }


        private Coordinate _pt;

        public Coordinate Pt
        {
            get { return _pt; }
            set { _pt = value; }
        }

        private List<double> _values;

        public List<double> Values
        {
            get { return _values; }
            set { _values = value; }
        }

        private Color _ptColor;

        public Color PtColor
        {
            get { return _ptColor; }
            set { _ptColor = value; }
        }

        public ScatterPointShape Clone()
        {
            ScatterPointShape s = (ScatterPointShape)this.MemberwiseClone();
            s.Values = new List<double>();
            s.Values.AddRange(this.Values);
            s.Pt = (Coordinate)this.Pt.Clone();
            return s;
        }
    }
}
